import request from "./http";

//获取推荐视频
export function getVideoRecommend(params) {
    return request({
        url: "/video/timeline/recommend",
        methods: "get",
        params
    })
}

//获取视频url
export function getVideoUrl(params) {
    return request({
        url: "/video/url",
        methods: "get",
        params
    })
}
//获取视频详情 
export function getVideoDetail(params) {
    return request({
        url: "/video/detail",
        methods: "get",
        params
    })
}